package com.example.fw;

import org.openqa.selenium.By;

public class NavigationHelper extends HelperWithWebDriverBase {
	
	public NavigationHelper(ApplicationManager manager) {
		super(manager);
	}
	
	public void goToGroupListPage() {
		//check if not on the page needed then do it
		click(By.linkText("groups"));
	}
	
	public void openMainPage() {
		openUrl("http://localhost:8080/addressbook/");
	}

	protected void openNewContactPage() {
		click(By.linkText("add new"));
	}


}
